package com.wk.net.heartbeat.heartbeats.fixed;

import com.wk.net.heartbeat.source.HeartbeatMaker;

/**
 * 默认实现：内容固定的心跳
 * @author Bai Yu
 *
 */
public class FixedHeartbeatMaker implements HeartbeatMaker<FixedHeartbeat> {
	public FixedHeartbeatMaker(String content) {
		this.content = content;
	}

	@Override
	public FixedHeartbeat make() {
		return new FixedHeartbeat(content);
	}
	
	private String content;	
}